<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: III
  Date: 2017/7/7
  Time: 18:42
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>urlLog</title>
</head>
<body>
<h5>记录当前用户存活session中的url访问记录</h5>
<ul>
    <%
        List<String> ls=(List<String>) request.getSession().getAttribute("URLS");
        int num=0;
        for(String s:ls){
            num++;
    %>
    <li>
        <%
            out.print(num+"::"+s);
        %>
    </li>
    <%
        }
    %>
</ul>

</body>
</html>
